package com.luanye.enjoy.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.luanye.enjoy.entity.Topic;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface TopicMapper extends BaseMapper<Topic> {

    List<String> getTopicListByDynamicId(@Param("dynamicId") Integer dynamicId);

    List<Topic> getHotTopicList();
}
